package com.example.service;

import com.example.dao.JbhvDao;
import org.omg.CORBA.Object;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * Created by Administrator on 2017-08-31.
 */
@Service
public class JbhvService {
    @Autowired
    private JbhvDao jbhvDao;
    public int updatebydjbh4jbhs(String startdjbh, String enddjbh){
       int crows= jbhvDao.updatebydjbh4jbhs(startdjbh,enddjbh);
        jbhvDao.findbydjbh4jbhs(startdjbh,enddjbh);
        return crows;
    }
}
